<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
  <!-- 这个页面中不要包含有js!!! -->
  </head>  
  <body>
  	<!-- 验证还是jquery-validation好用，这里省事没用 -->
	<form class="auform" id="cityForm" method="post">
		<input type="hidden" name="cityId" id="cityId">
		<input type="hidden" name="hotelId">
		<input type="hidden" name="carId">
		<input type="hidden" name="guideId">
		<table class="autable">
			<tr>
				<td class="autd1">中文名：</td>
				<td class="autd2"><input name="cityCn" style="width:150px" validType="length[2,30]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
				<td class="autd1">繁体名：</td>
				<td class="autd2"><input name="cityFn" style="width:150px" validType="length[2,30]" class="easyui-validatebox txt"></td>			
			</tr>
			<tr>
				<td class="autd1">英文名：</td>
				<td class="autd2"><input name="cityEn" style="width:150px;" validType="length[3,30]" class="easyui-validatebox txt"></td>
				<td class="autd1">类    型：</td>
				<td class="autd2">
					<select class="easyui-combobox" name="cityType" panelHeight="auto" style="width:150px;" required="true" editable="false">
						<option value="-1">请选择</option>
						<option value="${constant.CITY_TYPE_CZ}">城镇</option>
						<option value="${constant.CITY_TYPE_HD}">海岛</option>
						<option value="${constant.CITY_TYPE_HB}">海滨</option>
						<option value="${constant.CITY_TYPE_GY}">高原</option>
						<option value="${constant.CITY_TYPE_QT}">其他</option>
					</select><span class="red">*</span>
				</td>
			</tr>
			<tr>
				<td class="autd1">国    家：</td>
				<td class="autd2"><input name="countryId" id="countryId" class="txt" type="text" style="width:150px;" editable="false" required="true"/><span class="red">*</span></td>
				<td class="autd1">酒店PDF：</td>
				<td class="autd2"><input name="hotelPdf" id="hotelPdf" class="txt" style="width:150px;color: #ccc;" readonly="readonly" onclick="uploadFile('hotelPdf');"></td>
			<tr>
				<td class="autd1">备    注：</td>
				<td class="autd2" colspan="3"><textarea name="remark" class="txtarea"></textarea></td>
			</tr>
			<tr>
				<td class="autd3" colspan="4">
					<a href="#" id="btn-back" onclick="$('#MyPopWindow').window('close');" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
					<a href="#" id="btn-add" onclick="addOrUpdate('${param.update}');" class="easyui-linkbutton" iconCls="icon-save">保存</a>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
